<% title "Titles" %>

<table>
  <tr>
    <th>Programid</th>
    <th>Language</th>
    <th>Type</th>
    <th>Text</th>
  </tr>
  <% for title in @titles %>
    <tr>
      <td><%= title.programId %></td>
      <td><%= title.language %></td>
      <td><%= title.type %></td>
      <td><%= title.text %></td>
      <td><%= link_to "Show", title %></td>
      <td><%= link_to "Edit", edit_title_path(title) %></td>
      <td><%= link_to "Destroy", title, :confirm => 'Are you sure?', :method => :delete %></td>
    </tr>
  <% end %>
</table>

<p><%= link_to "New Title", new_title_path %></p>
